@mixin tableColorSwitchBlock($cellClass, $normal, $swiched, $i, $padding, $borderWidth)
  td#{$cellClass}
    @if $i % 2 == 0 
      background-color: $normal
    @else 
      background-color: $swiched
    height: 20px
    line-height: 14px
    padding: $padding
  th#{$cellClass}
    @if $i % 2 == 0 
      background-color: $normal
    @else 
      background-color: $swiched
    height: 20px
    line-height: 14px
    border-color: white
    border-style: solid
    border-width: $borderWidth
    text-align: left
    padding: 2px 20px 2px 2px

@mixin tableBlock($switchClass, $oddClass, $evenClass, $cellClass, $padding, $borderWidth, $l1_even, $l1_odd, $l2_even, $l2_odd)
  @for $i from 0 to 5
    #{$oddClass}
      @include tableColorSwitchBlock($cellClass, $l1_odd, $l2_odd, $i, $padding, $borderWidth)
    #{$evenClass}
      @include tableColorSwitchBlock($cellClass, $l1_even, $l2_even, $i, $padding, $borderWidth)  
    $oddClass: #{$switchClass} #{$oddClass}
    $evenClass: #{$switchClass} #{$evenClass}    
    
body  
  font-family: Arial,Helvetica,sans-serif
  font-size: 12px
 
.table
  background-color: #FFF
  border-spacing: 1px
  font-size: 12px
  
.tableContainer
  border-spacing: 0px
  font-size: 12px    
    
@include tableBlock(".tableColorSwitch", ".tableRowOdd",          ".tableRowEven",          ".tableCell",          2px, 0px,             #BFCCD9, #DBE4ED, #D7D7D7, #EEEEEE)
@include tableBlock(".tableColorSwitch", ".tableContainerRowOdd", ".tableContainerRowEven", ".tableContainerCell", 0px, 1px 1px 0px 1px, #99ADC2, #DBE4ED, #ABABAB, #EEEEEE)               